package com.wzdigit.wms.raw.mapper.asn;

import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import com.wzdigit.wms.basic.domain.asn.AsnHeader;
import com.wzdigit.wms.raw.client.request.asn.receive.SearchAsnHeaderReceiveRequest;
import com.wzdigit.wms.raw.client.response.asn.receive.AsnHeaderReceiveResponse;

import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
 * 收料入库主档Mapper
 * Created by zyf on 2021/7/1 11:01
 */

@MyBatisRepository
public interface AsnReceiveHeaderMapper extends BaseMapper<AsnHeader> {

    List<AsnHeaderReceiveResponse> selectReceive(
            @Param("dto")SearchAsnHeaderReceiveRequest dto,
            @Param("asnTypeList") List<String> asnTypeList,
            @Param("whsIdList") List<Integer> whsIdList,
            @Param("skuIdList") List<Integer> skuIdList,
            @Param("beginDate") Date beginDate,
            @Param("endDate") Date endDate);
}
